package com.hzhr.iot.meterplan.convertor;

import com.hzhr.iot.meterplan.convertor.custom.*;
import com.hzhr.iot.core.util.HzhrTypeUtil;
import com.hzhr.iot.core.util.HzhrJsonUtil;
import java.util.Map;
import com.hzhr.iot.meterplan.entity.YongqidizhiEntity;
import com.hzhr.iot.meterplan.entity.ext.YongqidizhiEntityExt;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.hzhr.iot.meterplan.model.meterGasUser.MeterGasUserPostModel;

@Component
public class YongqidizhiConvertor {
    @Autowired
    ChaobiaogongdanCustomConvertor chaobiaogongdanCustomConvertor;
    @Autowired
    RuhujihuaCustomConvertor ruhujihuaCustomConvertor;

    public YongqidizhiEntity meterGasUserPostModel2entity(MeterGasUserPostModel in) {
        //未转换字段: yqdzYqzh yqdzChaobiaocixu yqdzUserpwd yqdzSmPaixu yqdzTailcd yqdzLxr yqdzIsbiance yqdzFkCsr yqdzYhkzkFlag yqdzId yqdzAjjhCixu yqdzTongzhiFangshi yqdzLxrSj yqdzFkFlag yqdzFjchaobiaocixu zhanghuId yqdzRhghrq yqdzGongchenghao yqdzShenqingBiaobh yqdzHnazZt yqdzGdDw yqdzKhfZt yqdzFgsId yqdzKhLx yqdzHzMc yqdzGrmj datePrintJfd gqpqName yqdzYhkzkTime yqdzWeizhangFlag yqdzYhkzkBh yqdzCbcId yqdzDbEnd yqdzPym yqdzKhId yqdzMiaoshu version yqdzSqdw yqdzShixiao yqdzCzrk dsdwId gqpqname yqdzTsyhLx yqdzTyxcixu yqdzTyzId yqdzTongqiZt sfPrintJfd yqdzAjsfhgFlag yqdzSfzlZt yqdzGdLxdh yqdzSfqdzzht yqdzGwlx yqdzFjcbcId yqdzBxfCreateRq yqdzZhuyi yqdzGdLxr yqdzYqdzmId yqdzSm yqdzLgtqZt yqdzRqbxYw yqdzZhjcRq yqdzCreateTime orgId tqqkSm yqdzLxdh yqdzZhajRq yqdzYqdzmMs yqdzYhkzkType yqdzSyrMc yqdzGdFs yqdzTzFs yqdzFklx bxfBz gqpqId yqdzTsbiaoshi yqdzZtId yqdzFjfFbhs yqdzFwzId yqdzYqzdyTime yqdzYqzdyBh yqdzFwjglx yqdzIscainuan yqdzDrsqYw yqdzSyrlx yqdzYqzdyFlag yqdzFkDate yqdzDbLx gqpqid yqdzTqRq yqdzDzlx yqdzAjjhId yqdzZfcq yqdzGastype yqdzShengxiao yhdwId yqdzDbBegin 
        if (in == null) return null;
        YongqidizhiEntity result = new YongqidizhiEntity();

        return result;
    }
    public YongqidizhiEntity meterGasUserPostModel2entity(MeterGasUserPostModel in, YongqidizhiEntity ori) {
        //未转换字段: yqdzYqzh yqdzChaobiaocixu yqdzUserpwd yqdzSmPaixu yqdzTailcd yqdzLxr yqdzIsbiance yqdzFkCsr yqdzYhkzkFlag yqdzId yqdzAjjhCixu yqdzTongzhiFangshi yqdzLxrSj yqdzFkFlag yqdzFjchaobiaocixu zhanghuId yqdzRhghrq yqdzGongchenghao yqdzShenqingBiaobh yqdzHnazZt yqdzGdDw yqdzKhfZt yqdzFgsId yqdzKhLx yqdzHzMc yqdzGrmj datePrintJfd gqpqName yqdzYhkzkTime yqdzWeizhangFlag yqdzYhkzkBh yqdzCbcId yqdzDbEnd yqdzPym yqdzKhId yqdzMiaoshu version yqdzSqdw yqdzShixiao yqdzCzrk dsdwId gqpqname yqdzTsyhLx yqdzTyxcixu yqdzTyzId yqdzTongqiZt sfPrintJfd yqdzAjsfhgFlag yqdzSfzlZt yqdzGdLxdh yqdzSfqdzzht yqdzGwlx yqdzFjcbcId yqdzBxfCreateRq yqdzZhuyi yqdzGdLxr yqdzYqdzmId yqdzSm yqdzLgtqZt yqdzRqbxYw yqdzZhjcRq yqdzCreateTime orgId tqqkSm yqdzLxdh yqdzZhajRq yqdzYqdzmMs yqdzYhkzkType yqdzSyrMc yqdzGdFs yqdzTzFs yqdzFklx bxfBz gqpqId yqdzTsbiaoshi yqdzZtId yqdzFjfFbhs yqdzFwzId yqdzYqzdyTime yqdzYqzdyBh yqdzFwjglx yqdzIscainuan yqdzDrsqYw yqdzSyrlx yqdzYqzdyFlag yqdzFkDate yqdzDbLx gqpqid yqdzTqRq yqdzDzlx yqdzAjjhId yqdzZfcq yqdzGastype yqdzShengxiao yhdwId yqdzDbBegin 
        if (in == null) return null;
        YongqidizhiEntity result = ori;

        return result;
    }
    public List<YongqidizhiEntity> meterGasUserPostModelList2entityList(List<MeterGasUserPostModel> in) {
        if (in == null) return null;
        List<YongqidizhiEntity> result = new ArrayList<>();
        for (MeterGasUserPostModel item : in) {
            result.add(meterGasUserPostModel2entity(item));
        }
        return result;
    }
    public MeterGasUserPostModel entity2meterGasUserPostModel(YongqidizhiEntity in) {
        //未转换字段: meterPlanId code address name concentratorNo typeId 
        if (in == null) return null;
        MeterGasUserPostModel result = new MeterGasUserPostModel();

        return result;
    }
    public List<MeterGasUserPostModel> entityList2meterGasUserPostModelList(List<YongqidizhiEntity> in) {
        if (in == null) return null;
        List<MeterGasUserPostModel> result = new ArrayList<>();
        for (YongqidizhiEntity item : in) {
            result.add(entity2meterGasUserPostModel(item));
        }
        return result;
    }
    public MeterGasUserPostModel ext2meterGasUserPostModel(YongqidizhiEntityExt in) {
        //未转换字段: meterPlanId code address name concentratorNo typeId 
        if (in == null) return null;
        MeterGasUserPostModel result = new MeterGasUserPostModel();

        return result;
    }
    public List<MeterGasUserPostModel> extList2meterGasUserPostModelList(List<YongqidizhiEntityExt> in) {
        if (in == null) return null;
        List<MeterGasUserPostModel> result = new ArrayList<>();
        for (YongqidizhiEntityExt item : in) {
            result.add(ext2meterGasUserPostModel(item));
        }
        return result;
    }

}

